﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Rvz.Game.Main.Entities.Projectiles;
using Rvz.Game.Main.State;

namespace Rvz.Game.Main.Entities.Zombies.States
{
    public class HitState : ZombieStateBase
    {
        private readonly Projectile _hitBy;

        public HitState(Projectile hitBy)
        {
            _hitBy = hitBy;
        }

        public override void ProcessState(Zombie sender, GameState gameState)
        {
            //TODO: Add hit points/health to zombies and determine if the hit destroyed or not
            sender.AddState(new DestroyedState());
        }
    }
}
